package com.jakx.service.kafka;

import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Component;

@Component
public class KafkaConsumer {

//    @KafkaListener(topics = {"test1"})
//    public void onMessage(ConsumerRecord<?,?> record){
//        System.out.println("consumer->"+record.value());
//    }
}
